/**
 * 
 */
package cn.java.innerclass;

/**
* 视频处理类的测试
* @author 攀博课堂
* @version v1.0
*/
public class VideoProcessorTest2 {

	
	public static void main(String[] args) {
		//构造一个视频对象
		Video video = new Video("java多态原理解析", "http://www.pbteach.com/video/1", "avi");
		//构造一个视频处理类对象(外部类对象)
		 VideoProcessor2 videoProcessor = new VideoProcessor2(video);
		//调用process()方法开始处理
		 videoProcessor.process();
		 //获取处理结果
		 VideoProcessor2.VideoProcessorResult videoProcessorResult = videoProcessor.getVideoProcessorResult();
		 System.out.println(videoProcessorResult);
		
	}
	
}
